package week9.Q4;

public abstract class Vehicle {
    private String brand;
    private String color;


    public Vehicle( String brand,String color){
        this.brand=brand;
        this.color=color;

    }
    public Vehicle(){

    }
    public String getBrand(){
        return  brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getColor(){
        return color;
    }
    public void setColor(String color){
        this.color=color;
    }

    public abstract void run();

}
